//
//  LWMsgDetailCtrl.m
//  laowu
//
//  Created by 尹桥印 on 15/5/4.
//  Copyright (c) 2015年 长沙市岳麓区立早网络科技有限公司. All rights reserved.
//

#import "LWMsgDetailCtrl.h"

@interface LWMsgDetailCtrl ()
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollView;

@property (nonatomic,strong) MineMsg *msg;
@end

@implementation LWMsgDetailCtrl

-(instancetype)initWithMinemsg:(MineMsg *)msg{
    self = [super init];
    if (self) {
        self.msg = msg;
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self setTitle:@"站内信息"];
    [self.scrollView setCornerRadius:0 borderWidth:1 borderColor:HEXColor(@"dfdfdf")];
    [self.timeLabel setText:self.msg.data_time];
    [self.detailLabel setText:self.msg.content];
}

@end
